<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>OpenLayers v8.2.0 API - Class: CircleStyle</title>
    <script src="scripts/prettify/prettify.js"></script>
    <script src="scripts/prettify/lang-css.js"></script>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"
        crossorigin="anonymous"></script>
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/fontawesome.min.css"
        crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/solid.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/brands.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css" href="styles/prettify-tomorrow.css">
    <link rel="stylesheet" type="text/css" href="styles/jaguar.css">
    <link rel="stylesheet" type="text/css" href="styles/carbon.css">
    <link rel="stylesheet" type="text/css" href="/theme/ol.css">
    <link rel="stylesheet" type="text/css" href="/theme/site.css">
</head>

<body>
    <header class="navbar navbar-expand-sm navbar-dark mb-3 px-3 py-0 fixed-top" role="navigation">
        <a class="navbar-brand" href="/"><img src="/theme/img/logo-dark.svg" width="70" height="70"
                alt="">&nbsp;OpenLayers</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#olmenu"
            aria-controls="olmenu" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <!-- menu items that get hidden below 768px width -->
        <nav class="collapse navbar-collapse" id="olmenu">
            <ul class="nav navbar-nav ms-auto">
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="docdropdown" role="button"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Docs</a>
                    <div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="docdropdown">
                        <a class="dropdown-item" href="/doc/">Docs</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="/doc/quickstart.html"><i
                                class="fa fa-check fa-fw me-2 fa-lg"></i>快速入门</a>
                        <a class="dropdown-item" href="/doc/faq.html"><i
                                class="fa fa-question fa-fw me-2 fa-lg"></i>FAQ</a>
                        <a class="dropdown-item" href="/doc/tutorials/"><i
                                class="fa fa-book fa-fw me-2 fa-lg"></i>Tutorials</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="https://stackoverflow.com/questions/tagged/openlayers"><i
                                class="fab fa-stack-overflow fa-fw me-2"></i>Ask a Question</a>
                    </div>
                </li>
                <li class="nav-item"><a class="nav-link" href="/en/latest/examples/">Examples</a></li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="apidropdown" role="button"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <i class="fa fa-sitemap me-1"></i>API
                    </a>
                    <div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
                        <a class="dropdown-item" href="/en/latest/apidoc/"><i
                                class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v8.2.0
                            (latest)</a </div>
                </li>
            </ul>
        </nav>
    </header>

    <div class="container-fluid">
        <div id="wrap" class="row">
            <div class="navigation col-md-4 col-lg-3">
                <div class="search-wrapper">
                    <div class="search">
                        <input id="search" type="text" autocomplete="off" class="form-control input-sm"
                            placeholder="Search Documentation">
                    </div>
                </div>
                <div class="navigation-list-wrapper">
                    <ul class="navigation-list search-empty">
                        <li class="item item-class toggle-manual toggle-manual-show"
                            data-longname="module:ol/style/Circle~CircleStyle" data-name="ol/style/circle">
                            <span class="title toggle">
                                <span class="fa fa-chevron-right me-2 mt-1"></span>
                                <span><a href="module-ol_style_Circle-CircleStyle.html">ol​/style​/Circle</a></span>
                            </span>
                            <div class="member-list" data-type="methods">
                                <span class="subtitle">Methods</span>
                                <ul>
                                    <li data-name="clone"><a
                                            href="module-ol_style_Circle-CircleStyle.html#clone">clone</a>
                                    <li data-name="getanchor"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getAnchor">getAnchor</a>
                                    <li data-name="getangle"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getAngle">getAngle</a>
                                    <li data-name="getdecluttermode"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getDeclutterMode">getDeclutterMode</a>
                                    <li data-name="getdisplacement"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getDisplacement">getDisplacement</a>
                                    <li data-name="getfill"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getFill">getFill</a>
                                    <li data-name="getimage"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getImage">getImage</a>
                                    <li data-name="getopacity"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getOpacity">getOpacity</a>
                                    <li data-name="getorigin"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getOrigin">getOrigin</a>
                                    <li data-name="getpoints"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getPoints">getPoints</a>
                                    <li data-name="getradius"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getRadius">getRadius</a>
                                    <li data-name="getradius2"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getRadius2">getRadius2</a>
                                    <li data-name="getrotatewithview"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getRotateWithView">getRotateWithView</a>
                                    <li data-name="getrotation"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getRotation">getRotation</a>
                                    <li data-name="getscale"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getScale">getScale</a>
                                    <li data-name="getsize"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getSize">getSize</a>
                                    <li data-name="getstroke"><a
                                            href="module-ol_style_Circle-CircleStyle.html#getStroke">getStroke</a>
                                    <li data-name="setdisplacement"><a
                                            href="module-ol_style_Circle-CircleStyle.html#setDisplacement">setDisplacement</a>
                                    <li data-name="setfill"><a
                                            href="module-ol_style_Circle-CircleStyle.html#setFill">setFill</a>
                                    <li data-name="setopacity"><a
                                            href="module-ol_style_Circle-CircleStyle.html#setOpacity">setOpacity</a>
                                    <li data-name="setradius"><a
                                            href="module-ol_style_Circle-CircleStyle.html#setRadius">setRadius</a>
                                    <li data-name="setrotatewithview"><a
                                            href="module-ol_style_Circle-CircleStyle.html#setRotateWithView">setRotateWithView</a>
                                    <li data-name="setrotation"><a
                                            href="module-ol_style_Circle-CircleStyle.html#setRotation">setRotation</a>
                                    <li data-name="setscale"><a
                                            href="module-ol_style_Circle-CircleStyle.html#setScale">setScale</a>
                                    <li data-name="setstroke"><a
                                            href="module-ol_style_Circle-CircleStyle.html#setStroke">setStroke</a>
                                </ul>
                            </div>
                        <li class="loading">Loading …
                    </ul>
                </div>
            </div>

            <div class="main col-md-8 col-lg-9">
                <h1 class="page-title" data-filename="module-ol_style_Circle-CircleStyle.html">Class: CircleStyle</h1>
                <div id="latest-check" class="alert alert-warning alert-dismissible" role="alert" style="display:none">
                    <button id="latest-dismiss" type="button" class="btn-close" data-bs-dismiss="alert"
                        aria-label="Close"></button>
                    This documentation is for OpenLayers v<span id="package-version">8.2.0</span>. The <a
                        id="latest-link" href="#" class="alert-link">latest</a> is v<span id="latest-version"></span>.
                </div>




                <section class="content">

                    <header>
                        <h2 class="my-3">
                            <span class="ancestors"><a
                                    href="module-ol_style_Circle.html">ol/style/Circle</a>~</span>CircleStyle
                        </h2>
                        <br>



                        <pre
                            class="prettyprint source"><code>import CircleStyle from '<a href="module-ol_style_Circle.html">ol/style/Circle</a>.js';</code></pre>


                        <div class="row p-3 ">
                            <!-- <div id="ad" class="col-lg-5 order-2 align-self-center border rounded bg-light ">
                                <script async type="text/javascript"
                                    src="https://cdn.carbonads.com/carbon.js?serve=CE7DV53U&placement=openlayersorg"
                                    id="_carbonads_js"></script>
                            </div> -->

                            <div class="class-description col-lg-7 align-self-center ps-0">
                                <p>设置矢量要素的圆样式。</p>
                            </div>

                        </div>
                    </header>

                    <article>
                        <div class="container-overview">



                            <dl>

                                <dt class="">

                                    <div class="nameContainer">
                                        <div class="anchor" id="CircleStyle">
                                        </div>
                                        <h4 class="name">
                                            new CircleStyle<span class="signature">(<span
                                                    class="optional">options</span>)</span>



                                        </h4>

                                        <div class="tag-source">
                                            <a
                                                href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Circle.js">style/Circle.js</a>,
                                            <a
                                                href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Circle.js#L27">line
                                                27</a>
                                        </div>

                                    </div>


                                </dt>
                                <dd class="">













                                    <table class="params">
                                        <thead>
                                            <tr>

                                                <th>Name</th>


                                                <th>Type</th>

                                                <th class="last">Description</th>
                                            </tr>
                                        </thead>

                                        <tbody>


                                            <tr class="">

                                                <td class="name"><code>fill</code></td>



                                                <td class="type">


                                                    <span class="param-type"><a
                                                            href="module-ol_style_Fill-Fill.html">Fill</a></span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>填充样式。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>radius</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>




                                                </td>



                                                <td class="description last">

                                                    <p>圆半径。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>stroke</code></td>



                                                <td class="type">


                                                    <span class="param-type"><a
                                                            href="module-ol_style_Stroke-Stroke.html">Stroke</a></span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>边样式。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>displacement</code></td>



                                                <td class="type">


                                                    <span class="param-type">Array.&lt;number></span>



                                                    (defaults to [0,0])


                                                </td>



                                                <td class="description last">

                                                    <p>移位</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>scale</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>
                                                    |

                                                    <span class="param-type"><a
                                                            href="module-ol_size.html#~Size">Size</a></span>



                                                    (defaults to 1)


                                                </td>



                                                <td class="description last">

                                                    <p>比例尺。二维比例尺会产生一个椭圆。除非需要二维缩放，否则使用适当的<code>radius</code>设置可能会获得更好的结果。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>rotation</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>



                                                    (defaults to 0)


                                                </td>



                                                <td class="description last">

                                                    <p>以弧度表示的旋转（正旋转为顺时针，仅与二维比例尺结合使用时才有意义）。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>rotateWithView</code></td>



                                                <td class="type">


                                                    <span class="param-type">boolean</span>



                                                    (defaults to false)


                                                </td>



                                                <td class="description last">

                                                    <p>是否随视图旋转形状（仅与二维比例尺结合使用时才有意义）。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>declutterMode</code></td>



                                                <td class="type">


                                                    <span class="param-type">"declutter"</span>
                                                    |

                                                    <span class="param-type">"obstacle"</span>
                                                    |

                                                    <span class="param-type">"none"</span>
                                                    |

                                                    <span class="param-type">undefined</span>




                                                </td>



                                                <td class="description last">

                                                    <p>简化模式</p>
                                                </td>
                                            </tr>


                                        </tbody>
                                    </table>




                                    <dl class="details">





















                                    </dl>













                                </dd>

                            </dl>

                        </div>




                        <h3 class="subsection-title">Extends</h3>

                        <ul>
                            <li><a href="module-ol_style_RegularShape-RegularShape.html">RegularShape</a></li>
                        </ul>















                        <h3 class="subsection-title">Methods</h3>

                        <dl>


                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="clone">
                                    </div>
                                    <h4 class="name">
                                        clone<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_style_Circle-CircleStyle.html">CircleStyle</a>}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Circle.js">style/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Circle.js#L54">line
                                            54</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>克隆样式。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                The cloned style.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getAnchor">
                                    </div>
                                    <h4 class="name">
                                        getAnchor<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{Array.&lt;number>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#getAnchor">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L179">line
                                            179</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取像素中的锚点。锚点决定符号的中心点。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Anchor.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getAngle">
                                    </div>
                                    <h4 class="name">
                                        getAngle<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#getAngle">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L196">line
                                            196</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取用于生成形状的角度。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                形状以弧度表示的旋转角度。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getDeclutterMode">
                                    </div>
                                    <h4 class="name">
                                        getDeclutterMode<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{"declutter" | "obstacle" | "none" |
                                            undefined}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#getDeclutterMode">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L147">line
                                            147</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取形状的简化模式</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Shape's declutter mode
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getDisplacement">
                                    </div>
                                    <h4 class="name">
                                        getDisplacement<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{Array.&lt;number>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#getDisplacement">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L138">line
                                            138</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取形状的位移</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Shape's center displacement
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getFill">
                                    </div>
                                    <h4 class="name">
                                        getFill<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_style_Fill-Fill.html">Fill</a> | null}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#getFill">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L205">line
                                            205</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取形状的填充样式。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Fill style.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getImage">
                                    </div>
                                    <h4 class="name">
                                        getImage<span class="signature">(pixelRatio)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{HTMLCanvasElement}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#getImage">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L237">line
                                            237</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取图片图标。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>pixelRatio</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>像素比率。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Image or Canvas element.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getOpacity">
                                    </div>
                                    <h4 class="name">
                                        getOpacity<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#getOpacity">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L94">line
                                            94</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取符号的不透明度。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Opacity.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getOrigin">
                                    </div>
                                    <h4 class="name">
                                        getOrigin<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{Array.&lt;number>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#getOrigin">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L281">line
                                            281</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取符号的原点。</p>
                                </div>










                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Origin.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getPoints">
                                    </div>
                                    <h4 class="name">
                                        getPoints<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#getPoints">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L290">line
                                            290</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取用于生成形状的点数。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Number of points for stars and regular polygons.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getRadius">
                                    </div>
                                    <h4 class="name">
                                        getRadius<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#getRadius">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L299">line
                                            299</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取形状的（主要）半径。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Radius.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getRadius2">
                                    </div>
                                    <h4 class="name">
                                        getRadius2<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number | undefined}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#getRadius2">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L308">line
                                            308</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取形状的次要半径。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Radius2.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getRotateWithView">
                                    </div>
                                    <h4 class="name">
                                        getRotateWithView<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{boolean}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#getRotateWithView">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L103">line
                                            103</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>确定符号是否随地图旋转。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Rotate with map.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getRotation">
                                    </div>
                                    <h4 class="name">
                                        getRotation<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#getRotation">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L112">line
                                            112</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取符号的旋转角度。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Rotation.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getScale">
                                    </div>
                                    <h4 class="name">
                                        getScale<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number | <a
                                                href="module-ol_size.html#~Size">Size</a>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#getScale">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L121">line
                                            121</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取缩放的比例。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Scale.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getSize">
                                    </div>
                                    <h4 class="name">
                                        getSize<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_size.html#~Size">Size</a>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#getSize">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L317">line
                                            317</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取符号的大小(像素为单位)</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Size.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getStroke">
                                    </div>
                                    <h4 class="name">
                                        getStroke<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_style_Stroke-Stroke.html">Stroke</a> | null}</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#getStroke">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L326">line
                                            326</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取形状的边框样式。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Stroke style.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="setDisplacement">
                                    </div>
                                    <h4 class="name">
                                        setDisplacement<span class="signature">(displacement)</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#setDisplacement">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L228">line
                                            228</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置位移。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>displacement</code></td>



                                            <td class="type">


                                                <span class="param-type">Array.&lt;number></span>




                                            </td>



                                            <td class="description last">

                                                <p>位移。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="setFill">
                                    </div>
                                    <h4 class="name">
                                        setFill<span class="signature">(fill)</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#setFill">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L214">line
                                            214</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置填充样式。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>fill</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_style_Fill-Fill.html">Fill</a></span>
                                                |

                                                <span class="param-type">null</span>




                                            </td>



                                            <td class="description last">

                                                <p>填充样式。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="setOpacity">
                                    </div>
                                    <h4 class="name">
                                        setOpacity<span class="signature">(opacity)</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#setOpacity">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L238">line
                                            238</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置不透明度。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>opacity</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>透明度.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setRadius">
                                    </div>
                                    <h4 class="name">
                                        setRadius<span class="signature">(radius)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Circle.js">style/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Circle.js#L76">line
                                            76</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>Set the circle radius.</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>radius</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>圆半径。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="setRotateWithView">
                                    </div>
                                    <h4 class="name">
                                        setRotateWithView<span class="signature">(rotateWithView)</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#setRotateWithView">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L248">line
                                            248</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置是否随视图旋转样式。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>rotateWithView</code></td>



                                            <td class="type">


                                                <span class="param-type">boolean</span>




                                            </td>



                                            <td class="description last">

                                                <p>Rotate with map.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="setRotation">
                                    </div>
                                    <h4 class="name">
                                        setRotation<span class="signature">(rotation)</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#setRotation">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L258">line
                                            258</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置旋转角度</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>rotation</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>旋转角度。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="setScale">
                                    </div>
                                    <h4 class="name">
                                        setScale<span class="signature">(scale)</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_Image-ImageStyle.html#setScale">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js">style/Image.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/Image.js#L268">line
                                            268</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置缩放</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>scale</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>
                                                |

                                                <span class="param-type"><a
                                                        href="module-ol_size.html#~Size">Size</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>缩放比例。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="setStroke">
                                    </div>
                                    <h4 class="name">
                                        setStroke<span class="signature">(stroke)</span>

                                        <span class="inherited"><a
                                                href="module-ol_style_RegularShape-RegularShape.html#setStroke">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/style/RegularShape.js#L335">line
                                            335</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置边线样式</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>stroke</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_style_Stroke-Stroke.html">Stroke</a></span>
                                                |

                                                <span class="param-type">null</span>




                                            </td>



                                            <td class="description last">

                                                <p>边样式。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>

                        </dl>





                    </article>

                </section>




            </div>
        </div>
    </div>
    <script>prettyPrint();</script>
    <script src="scripts/linenumber.js"></script>
    <script src="scripts/main.js"></script>
</body>

</html>